The Hodrick–Prescott filter is a mathematical tool used in macroeconomics, especially in real business cycle theory to separate the cyclical component of a time series from raw data. It is used to obtain a smoothed-curve representation of a time series, one that is more sensitive to long-term than to short-term fluctuations. The adjustment of the sensitivity of the trend to short-term fluctuations is achieved by modifying a multiplier . The filter was first applied by economists Robert J. Hodrick and Nobel Prize(2004) winner Edward C. Prescott.[1] Though Hodrick and Prescott popularized the filter in the field of economics, it was first proposed by E. T. Whittaker (Whittaker, E. T. (1923). On a new method of graduation, Proceedings of the Edinburgh Mathematical Association, 78, 81-89.)[2]
Contents |
The reasoning for the methodology uses ideas related to the decomposition of time series. Let for denote the logarithms of a time series variable. The series is made up of a trend component, denoted by and a cyclical component, denoted by such that .[3] Given an adequately chosen, positive value of , there is a trend component that will minimize
The first term of the equation is the sum of the squared deviations which penalizes the cyclical component. The second term is a multiple of the sum of the squares of the trend component's second differences. This second term penalizes variations in the growth rate of the trend component. The larger the value of , the higher is the penalty. Hodrick and Prescott advise that, for quarterly data, a value of is reasonable.[4]
The Hodrick–Prescott filter will only be optimal when:[5]